home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VSKEL.S < prev    next >
Text File  |  1993-03-25  |  1KB  |  41 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;*
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     funcname
  11. funcname:
  12.  
  13. ;    .cargs    #8,handle.w,ninitin.w, pintin.l,nptsin.w,pptsin.l
  14.  
  15. handle      =         8
  16. nintin      =        10
  17. pintin      =        12
  18. nptsin      =        16
  19. pptsin      =        18
  20.  
  21.           link        a6,#0
  22.  
  23. ;          VContrl    op,subop,nptsin,nintin
  24.           move.w    handle(a6),-(sp)    ; contrl[6] ; handle
  25.           clr.w     -(sp)                ; contrl[5] ; subfunction
  26.           subq.l    #2,sp                ; contrl[4] ; intout count
  27.           move.w    #1,-(sp)            ; contrl[3] ; intin  count
  28.           subq.l    #2,sp                ; contrl[2] ; ptsout count
  29.           move.w    #1,-(sp)            ; contrl[1] ; ptsin  count
  30.           move.w    #8,-(sp)            ; contrl[0] ; opcode
  31.  
  32.           subq.l    #4,sp                ;* -> ptsout
  33.           subq.l    #4,sp                ;* -> intout
  34.           pea        x(a6)                ;* -> ptsin
  35.           pea        char(a6)            ;* -> intin
  36.           pea        16(sp)                ;* -> contrl
  37.  
  38.           jmp        vdicall
  39.  
  40.           end
  41.